<?php

namespace Database\Seeders;

use Illuminate\Database\Seeder;
use Illuminate\Support\Facades\DB;

class TreatmentSeeder extends Seeder
{
    /**
     * Run the database seeds.
     *
     * @return void
     */
    public function run()
    {
        $data = [
            [
                'id' => 1,
                'name' => 'V8塑形修身护理6选2',
                'mins' => 90,
                'new_price' => 288,
                'old_price' => 3880,
                'poster_url' => 'http://cdn.henrywong01.top/treatment/poster/V8%E5%A1%91%E5%BD%A2%E4%BF%AE%E8%BA%AB%E6%8A%A4%E7%90%866%E9%80%892.jpg',
                'thumb_url' => 'http://cdn.henrywong01.top/treatment/thumb/V8%E5%A1%91%E5%BD%A2%E4%BF%AE%E8%BA%AB%E6%8A%A4%E7%90%866%E9%80%892.jpg',
                'treatment_categories_id' => 1,
                'is_show_home' => 1
            ],
            [
                'id' => 2,
                'name' => 'PicoWay美白淡斑护理',
                'mins' => 90,
                'new_price' => 98,
                'old_price' => 1980,
                'poster_url' => 'http://cdn.henrywong01.top/treatment/poster/PicoWay%E7%BE%8E%E7%99%BD%E6%B7%A1%E6%96%91%E6%8A%A4%E7%90%86.jpg',
                'thumb_url' => 'http://cdn.henrywong01.top/treatment/thumb/PicoWay%E7%BE%8E%E7%99%BD%E6%B7%A1%E6%96%91%E6%8A%A4%E7%90%86.jpg',
                'treatment_categories_id' => 3,
                'is_show_home' => 1
            ],
            [
                'id' => 3,
                'name' => 'Exilis紧致眼周淡化护理',
                'mins' => 90,
                'new_price' => 98,
                'old_price' => 1980,
                'poster_url' => 'http://cdn.henrywong01.top/treatment/poster/Exilis%E7%B4%A7%E8%87%B4%E7%9C%BC%E5%91%A8%E6%B7%A1%E5%8C%96%E6%8A%A4%E7%90%86.jpg',
                'thumb_url' => 'http://cdn.henrywong01.top/treatment/thumb/Exilis%E7%B4%A7%E8%87%B4%E7%9C%BC%E5%91%A8%E6%B7%A1%E5%8C%96%E6%8A%A4%E7%90%86.jpg',
                'treatment_categories_id' => 4,
                'is_show_home' => 0
            ],
            [
                'id' => 4,
                'name' => 'CoolSculpting纤体塑形',
                'mins' => 90,
                'new_price' => 288,
                'old_price' => 3880,
                'poster_url' => 'http://cdn.henrywong01.top/treatment/poster/CoolSculpting%E7%BA%A4%E4%BD%93%E5%A1%91%E5%BD%A2.jpg',
                'thumb_url' => 'http://cdn.henrywong01.top/treatment/thumb/CoolSculpting%E7%BA%A4%E4%BD%93%E5%A1%91%E5%BD%A2.jpg',
                'treatment_categories_id' => 1,
                'is_show_home' => 1
            ],
            [
                'id' => 5,
                'name' => 'HydraFacial痘痘救星',
                'mins' => 90,
                'new_price' => 98,
                'old_price' => 1688,
                'poster_url' => 'http://cdn.henrywong01.top/treatment/poster/HydraFacial%E7%97%98%E7%97%98%E6%95%91%E6%98%9F.jpg',
                'thumb_url' => 'http://cdn.henrywong01.top/treatment/thumb/HydraFacial%E7%97%98%E7%97%98%E6%95%91%E6%98%9F.jpg',
                'treatment_categories_id' => 3,
                'is_show_home' => 1
            ],
            [
                'id' => 6,
                'name' => 'ElaseIR童颜少女肌护理',
                'mins' => 90,
                'new_price' => 98,
                'old_price' => 1980,
                'poster_url' => 'http://cdn.henrywong01.top/treatment/poster/ElaseIR%E7%AB%A5%E9%A2%9C%E5%B0%91%E5%A5%B3%E8%82%8C%E6%8A%A4%E7%90%86.jpg',
                'thumb_url' => 'http://cdn.henrywong01.top/treatment/thumb/ElaseIR%E7%AB%A5%E9%A2%9C%E5%B0%91%E5%A5%B3%E8%82%8C%E6%8A%A4%E7%90%86.jpg',
                'treatment_categories_id' => 3,
                'is_show_home' => 1
            ],
            [
                'id' => 7,
                'name' => 'Ultra V Lift Pro 紧致提拉',
                'mins' => 90,
                'new_price' => 98,
                'old_price' => 1980,
                'poster_url' => 'http://cdn.henrywong01.top/treatment/poster/Ultra%20V%20Lift%20Pro%20%E7%B4%A7%E8%87%B4%E6%8F%90%E6%8B%89.jpg',
                'thumb_url' => 'http://cdn.henrywong01.top/treatment/thumb/Ultra%20V%20Lift%20Pro%20%E7%B4%A7%E8%87%B4%E6%8F%90%E6%8B%89.jpg',
                'treatment_categories_id' => 2,
                'is_show_home' => 1
            ],
            [
                'id' => 8,
                'name' => 'Caresys无针水光',
                'mins' => 90,
                'new_price' => 98,
                'old_price' => 1980,
                'poster_url' => 'http://cdn.henrywong01.top/treatment/poster/Caresys%E6%97%A0%E9%92%88%E6%B0%B4%E5%85%89.jpg',
                'thumb_url' => 'http://cdn.henrywong01.top/treatment/thumb/Caresys%E6%97%A0%E9%92%88%E6%B0%B4%E5%85%89.jpg',
                'treatment_categories_id' => 1,
                'is_show_home' => 1
            ],


        ];

        DB::table('treatments')->insert($data);
    }
}
